.class public Lcom/example/m6wmr/DingzuoActivity;
.super Landroid/app/Activity;
.source "DingzuoActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/m6wmr/DingzuoActivity$OnScrollListenerImple;
    }
.end annotation


# static fields
.field public static dingzuo:Lcom/example/m6wmr/DingzuoActivity;


# instance fields
.field private areaid:Ljava/lang/String;

.field private areals:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/AreaBean;",
            ">;"
        }
    .end annotation
.end field

.field private areamapname:Ljava/lang/String;

.field private cursor:Landroid/database/Cursor;

.field private db:Landroid/database/sqlite/SQLiteDatabase;

.field public h:Landroid/os/Handler;

.field private helper:Ldbclass/DBOpenHelper;

.field private is_showpage:Z

.field m:Lmyapp/MyApp;

.field private mPopupWindow:Landroid/widget/PopupWindow;

.field private mPopupWindowHeight:I

.field private mPopupWindowWidth:I

.field private mScreenHeight:I

.field private mScreenWidth:I

.field private mcontext:Landroid/content/Context;

.field myLoginView:Landroid/view/View;

.field orderby:Landroid/widget/LinearLayout;

.field private orderbypopwidth:I

.field orderlist:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private ordervalue:I

.field private page:I

.field pscost:Landroid/widget/LinearLayout;

.field pscostlist:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private pscostpopwidth:I

.field private pscostvalue:I

.field private searchvalue:Ljava/lang/String;

.field shoplayout:Landroid/widget/LinearLayout;

.field private shopls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ShopBean;",
            ">;"
        }
    .end annotation
.end field

.field shoptype:Landroid/widget/LinearLayout;

.field private shoptypels:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ShoptypeBean;",
            ">;"
        }
    .end annotation
.end field

.field private shoptypepopwidth:I

.field private shoptypevalue:I

.field private spbd:Ldata/ShopData;

.field private temshopls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ShopBean;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 4

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    const/4 v1, 0x0

    .line 60
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 61
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->areaid:Ljava/lang/String;

    .line 62
    iput-object v1, p0, Lcom/example/m6wmr/DingzuoActivity;->m:Lmyapp/MyApp;

    .line 65
    iput-object v1, p0, Lcom/example/m6wmr/DingzuoActivity;->h:Landroid/os/Handler;

    .line 66
    iput-object v1, p0, Lcom/example/m6wmr/DingzuoActivity;->shoplayout:Landroid/widget/LinearLayout;

    .line 77
    iput-object v1, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptype:Landroid/widget/LinearLayout;

    .line 78
    iput-object v1, p0, Lcom/example/m6wmr/DingzuoActivity;->orderby:Landroid/widget/LinearLayout;

    .line 79
    iput-object v1, p0, Lcom/example/m6wmr/DingzuoActivity;->pscost:Landroid/widget/LinearLayout;

    .line 80
    iput v2, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypepopwidth:I

    .line 81
    iput v2, p0, Lcom/example/m6wmr/DingzuoActivity;->orderbypopwidth:I

    .line 82
    iput v2, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostpopwidth:I

    .line 83
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostlist:Ljava/util/List;

    .line 84
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->orderlist:Ljava/util/List;

    .line 85
    iput v2, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostvalue:I

    .line 86
    iput v2, p0, Lcom/example/m6wmr/DingzuoActivity;->ordervalue:I

    .line 87
    iput v2, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypevalue:I

    .line 90
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->searchvalue:Ljava/lang/String;

    .line 91
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->areamapname:Ljava/lang/String;

    .line 94
    iput-object v1, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    .line 96
    iput v3, p0, Lcom/example/m6wmr/DingzuoActivity;->page:I

    .line 97
    iput-boolean v3, p0, Lcom/example/m6wmr/DingzuoActivity;->is_showpage:Z

    .line 60
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/DingzuoActivity;)Z
    .locals 1

    .prologue
    .line 97
    iget-boolean v0, p0, Lcom/example/m6wmr/DingzuoActivity;->is_showpage:Z

    return v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/DingzuoActivity;)I
    .locals 1

    .prologue
    .line 96
    iget v0, p0, Lcom/example/m6wmr/DingzuoActivity;->page:I

    return v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/DingzuoActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 90
    iput-object p1, p0, Lcom/example/m6wmr/DingzuoActivity;->searchvalue:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$11(Lcom/example/m6wmr/DingzuoActivity;Landroid/widget/PopupWindow;)V
    .locals 0

    .prologue
    .line 69
    iput-object p1, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    return-void
.end method

.method static synthetic access$12(Lcom/example/m6wmr/DingzuoActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 91
    iput-object p1, p0, Lcom/example/m6wmr/DingzuoActivity;->areamapname:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$13(Lcom/example/m6wmr/DingzuoActivity;Landroid/view/View;)V
    .locals 0

    .prologue
    .line 685
    invoke-direct {p0, p1}, Lcom/example/m6wmr/DingzuoActivity;->initmapWindow(Landroid/view/View;)V

    return-void
.end method

.method static synthetic access$14(Lcom/example/m6wmr/DingzuoActivity;)V
    .locals 0

    .prologue
    .line 455
    invoke-direct {p0}, Lcom/example/m6wmr/DingzuoActivity;->initshoptypeWindow()V

    return-void
.end method

.method static synthetic access$15(Lcom/example/m6wmr/DingzuoActivity;)V
    .locals 0

    .prologue
    .line 509
    invoke-direct {p0}, Lcom/example/m6wmr/DingzuoActivity;->initorderbyWindow()V

    return-void
.end method

.method static synthetic access$16(Lcom/example/m6wmr/DingzuoActivity;)V
    .locals 0

    .prologue
    .line 548
    invoke-direct {p0}, Lcom/example/m6wmr/DingzuoActivity;->initpscostWindow()V

    return-void
.end method

.method static synthetic access$17(Lcom/example/m6wmr/DingzuoActivity;I)V
    .locals 0

    .prologue
    .line 80
    iput p1, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypepopwidth:I

    return-void
.end method

.method static synthetic access$18(Lcom/example/m6wmr/DingzuoActivity;I)V
    .locals 0

    .prologue
    .line 81
    iput p1, p0, Lcom/example/m6wmr/DingzuoActivity;->orderbypopwidth:I

    return-void
.end method

.method static synthetic access$19(Lcom/example/m6wmr/DingzuoActivity;I)V
    .locals 0

    .prologue
    .line 82
    iput p1, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostpopwidth:I

    return-void
.end method

.method static synthetic access$2(Lcom/example/m6wmr/DingzuoActivity;I)V
    .locals 0

    .prologue
    .line 96
    iput p1, p0, Lcom/example/m6wmr/DingzuoActivity;->page:I

    return-void
.end method

.method static synthetic access$20(Lcom/example/m6wmr/DingzuoActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 67
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypels:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$21(Lcom/example/m6wmr/DingzuoActivity;I)V
    .locals 0

    .prologue
    .line 87
    iput p1, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypevalue:I

    return-void
.end method

.method static synthetic access$22(Lcom/example/m6wmr/DingzuoActivity;I)V
    .locals 0

    .prologue
    .line 86
    iput p1, p0, Lcom/example/m6wmr/DingzuoActivity;->ordervalue:I

    return-void
.end method

.method static synthetic access$23(Lcom/example/m6wmr/DingzuoActivity;I)V
    .locals 0

    .prologue
    .line 85
    iput p1, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostvalue:I

    return-void
.end method

.method static synthetic access$24(Lcom/example/m6wmr/DingzuoActivity;)I
    .locals 1

    .prologue
    .line 85
    iget v0, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostvalue:I

    return v0
.end method

.method static synthetic access$25(Lcom/example/m6wmr/DingzuoActivity;)I
    .locals 1

    .prologue
    .line 86
    iget v0, p0, Lcom/example/m6wmr/DingzuoActivity;->ordervalue:I

    return v0
.end method

.method static synthetic access$26(Lcom/example/m6wmr/DingzuoActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 90
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->searchvalue:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$27(Lcom/example/m6wmr/DingzuoActivity;)I
    .locals 1

    .prologue
    .line 87
    iget v0, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypevalue:I

    return v0
.end method

.method static synthetic access$28(Lcom/example/m6wmr/DingzuoActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 61
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->areaid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$29(Lcom/example/m6wmr/DingzuoActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 68
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->areals:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/m6wmr/DingzuoActivity;Z)V
    .locals 0

    .prologue
    .line 97
    iput-boolean p1, p0, Lcom/example/m6wmr/DingzuoActivity;->is_showpage:Z

    return-void
.end method

.method static synthetic access$30(Lcom/example/m6wmr/DingzuoActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 61
    iput-object p1, p0, Lcom/example/m6wmr/DingzuoActivity;->areaid:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$4(Lcom/example/m6wmr/DingzuoActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 64
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/DingzuoActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 89
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->shopls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6wmr/DingzuoActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 89
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->temshopls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/DingzuoActivity;)Ldata/ShopData;
    .locals 1

    .prologue
    .line 95
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->spbd:Ldata/ShopData;

    return-object v0
.end method

.method static synthetic access$8(Lcom/example/m6wmr/DingzuoActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 91
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->areamapname:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/DingzuoActivity;)Landroid/widget/PopupWindow;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    return-object v0
.end method

.method private initmapWindow(Landroid/view/View;)V
    .locals 10
    .param p1, "parent"    # Landroid/view/View;

    .prologue
    const/4 v9, 0x0

    const/4 v8, -0x2

    .line 686
    move-object v3, p1

    .line 687
    .local v3, "myView":Landroid/view/View;
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    .line 688
    .local v2, "layoutInflater":Landroid/view/LayoutInflater;
    const v6, 0x7f0300b6

    invoke-virtual {v2, v6, v9}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v6

    iput-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->myLoginView:Landroid/view/View;

    .line 689
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->myLoginView:Landroid/view/View;

    const v7, 0x7f0c0366

    invoke-virtual {v6, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/LinearLayout;

    .line 690
    .local v4, "selectview":Landroid/widget/LinearLayout;
    const-string v6, "DingzuoActivity"

    const-string v7, "\u52a0\u8f7d\u5730\u533a\u5f39\u51fa\u5c42\u754c\u9762 "

    invoke-static {v6, v7}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 691
    invoke-virtual {v4}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 692
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_0
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->areals:Ljava/util/List;

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    if-lt v1, v6, :cond_0

    .line 728
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v6

    invoke-interface {v6}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v6

    invoke-virtual {v6}, Landroid/view/Display;->getWidth()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mScreenWidth:I

    .line 729
    new-instance v6, Landroid/widget/PopupWindow;

    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->myLoginView:Landroid/view/View;

    invoke-direct {v6, v7, v8, v8}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    .line 730
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v6

    invoke-interface {v6}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v6

    invoke-virtual {v6}, Landroid/view/Display;->getHeight()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mScreenWidth:I

    .line 731
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v6}, Landroid/widget/PopupWindow;->getWidth()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindowWidth:I

    .line 732
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v6}, Landroid/widget/PopupWindow;->getHeight()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindowHeight:I

    .line 733
    return-void

    .line 694
    :cond_0
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mcontext:Landroid/content/Context;

    const v7, 0x7f030053

    invoke-static {v6, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v5

    .line 695
    .local v5, "tempview":Landroid/view/View;
    invoke-virtual {v5, v1}, Landroid/view/View;->setId(I)V

    .line 696
    const v6, 0x7f0c022c

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 697
    .local v0, "areaname":Landroid/widget/TextView;
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->areals:Ljava/util/List;

    invoke-interface {v6, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lbean/AreaBean;

    invoke-virtual {v6}, Lbean/AreaBean;->getname()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 698
    invoke-virtual {v4, v5, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;I)V

    .line 699
    new-instance v6, Lcom/example/m6wmr/DingzuoActivity$16;

    invoke-direct {v6, p0, v3}, Lcom/example/m6wmr/DingzuoActivity$16;-><init>(Lcom/example/m6wmr/DingzuoActivity;Landroid/view/View;)V

    invoke-virtual {v5, v6}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 692
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method

.method private initorderbyWindow()V
    .locals 9

    .prologue
    const/4 v8, 0x0

    .line 510
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    .line 511
    .local v1, "layoutInflater":Landroid/view/LayoutInflater;
    const v6, 0x7f0300b6

    invoke-virtual {v1, v6, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 512
    .local v2, "popupWindow":Landroid/view/View;
    const v6, 0x7f0c0366

    invoke-virtual {v2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/LinearLayout;

    .line 513
    .local v3, "selectview":Landroid/widget/LinearLayout;
    const-string v6, "DingzuoActivity"

    const-string v7, "\u6392\u5e8f\u5206\u7c7b\u4fe1\u606f "

    invoke-static {v6, v7}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 514
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->orderlist:Ljava/util/List;

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    if-lt v0, v6, :cond_0

    .line 541
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v6

    invoke-interface {v6}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v6

    invoke-virtual {v6}, Landroid/view/Display;->getWidth()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mScreenWidth:I

    .line 542
    new-instance v6, Landroid/widget/PopupWindow;

    iget v7, p0, Lcom/example/m6wmr/DingzuoActivity;->orderbypopwidth:I

    const/4 v8, -0x2

    invoke-direct {v6, v2, v7, v8}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    .line 543
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v6

    invoke-interface {v6}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v6

    invoke-virtual {v6}, Landroid/view/Display;->getHeight()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mScreenWidth:I

    .line 544
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v6}, Landroid/widget/PopupWindow;->getWidth()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindowWidth:I

    .line 545
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v6}, Landroid/widget/PopupWindow;->getHeight()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindowHeight:I

    .line 546
    return-void

    .line 516
    :cond_0
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mcontext:Landroid/content/Context;

    const v7, 0x7f0300b4

    invoke-static {v6, v7, v8}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    .line 517
    .local v4, "tempview":Landroid/view/View;
    invoke-virtual {v4, v0}, Landroid/view/View;->setId(I)V

    .line 518
    const v6, 0x7f0c0013

    invoke-virtual {v4, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    .line 519
    .local v5, "textView1":Landroid/widget/TextView;
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->orderlist:Ljava/util/List;

    invoke-interface {v6, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/CharSequence;

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 520
    invoke-virtual {v3, v4, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;I)V

    .line 522
    new-instance v6, Lcom/example/m6wmr/DingzuoActivity$13;

    invoke-direct {v6, p0}, Lcom/example/m6wmr/DingzuoActivity$13;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v4, v6}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 514
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method private initpscostWindow()V
    .locals 9

    .prologue
    const/4 v8, 0x0

    .line 549
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    .line 550
    .local v1, "layoutInflater":Landroid/view/LayoutInflater;
    const v6, 0x7f0300b6

    invoke-virtual {v1, v6, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 551
    .local v2, "popupWindow":Landroid/view/View;
    const v6, 0x7f0c0366

    invoke-virtual {v2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/LinearLayout;

    .line 552
    .local v3, "selectview":Landroid/widget/LinearLayout;
    const-string v6, "DingzuoActivity"

    const-string v7, "\u914d\u9001\u5206\u7c7b\u4fe1\u606f "

    invoke-static {v6, v7}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 554
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostlist:Ljava/util/List;

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    if-lt v0, v6, :cond_0

    .line 580
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v6

    invoke-interface {v6}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v6

    invoke-virtual {v6}, Landroid/view/Display;->getWidth()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mScreenWidth:I

    .line 581
    new-instance v6, Landroid/widget/PopupWindow;

    iget v7, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostpopwidth:I

    const/4 v8, -0x2

    invoke-direct {v6, v2, v7, v8}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    .line 582
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v6

    invoke-interface {v6}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v6

    invoke-virtual {v6}, Landroid/view/Display;->getHeight()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mScreenWidth:I

    .line 583
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v6}, Landroid/widget/PopupWindow;->getWidth()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindowWidth:I

    .line 584
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v6}, Landroid/widget/PopupWindow;->getHeight()I

    move-result v6

    iput v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindowHeight:I

    .line 585
    return-void

    .line 556
    :cond_0
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->mcontext:Landroid/content/Context;

    const v7, 0x7f0300b4

    invoke-static {v6, v7, v8}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    .line 557
    .local v4, "tempview":Landroid/view/View;
    invoke-virtual {v4, v0}, Landroid/view/View;->setId(I)V

    .line 558
    const v6, 0x7f0c0013

    invoke-virtual {v4, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    .line 559
    .local v5, "textView1":Landroid/widget/TextView;
    iget-object v6, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostlist:Ljava/util/List;

    invoke-interface {v6, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/CharSequence;

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 560
    invoke-virtual {v3, v4, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;I)V

    .line 561
    new-instance v6, Lcom/example/m6wmr/DingzuoActivity$14;

    invoke-direct {v6, p0}, Lcom/example/m6wmr/DingzuoActivity$14;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v4, v6}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 554
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method private initshoptypeWindow()V
    .locals 10

    .prologue
    const/4 v9, 0x0

    .line 456
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    .line 457
    .local v2, "layoutInflater":Landroid/view/LayoutInflater;
    const v7, 0x7f0300b6

    invoke-virtual {v2, v7, v9}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 458
    .local v3, "popupWindow":Landroid/view/View;
    const v7, 0x7f0c0366

    invoke-virtual {v3, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/LinearLayout;

    .line 460
    .local v4, "selectview":Landroid/widget/LinearLayout;
    const-string v7, "DingzuoActivity"

    const-string v8, "\u52a0\u8f7d\u5e97\u94fa\u5206\u7c7b\u4fe1\u606f\u5f39\u51fa\u5c42 "

    invoke-static {v7, v8}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 463
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_0
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypels:Ljava/util/List;

    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v7

    if-lt v1, v7, :cond_0

    .line 498
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v7

    invoke-interface {v7}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v7

    invoke-virtual {v7}, Landroid/view/Display;->getWidth()I

    move-result v7

    iput v7, p0, Lcom/example/m6wmr/DingzuoActivity;->mScreenWidth:I

    .line 500
    new-instance v7, Landroid/widget/PopupWindow;

    iget v8, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypepopwidth:I

    const/4 v9, -0x2

    invoke-direct {v7, v3, v8, v9}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    .line 504
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v7

    invoke-interface {v7}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v7

    invoke-virtual {v7}, Landroid/view/Display;->getHeight()I

    move-result v7

    iput v7, p0, Lcom/example/m6wmr/DingzuoActivity;->mScreenWidth:I

    .line 505
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v7}, Landroid/widget/PopupWindow;->getWidth()I

    move-result v7

    iput v7, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindowWidth:I

    .line 506
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v7}, Landroid/widget/PopupWindow;->getHeight()I

    move-result v7

    iput v7, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindowHeight:I

    .line 507
    return-void

    .line 465
    :cond_0
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->mcontext:Landroid/content/Context;

    const v8, 0x7f0300b4

    invoke-static {v7, v8, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v5

    .line 466
    .local v5, "tempview":Landroid/view/View;
    invoke-virtual {v5, v1}, Landroid/view/View;->setId(I)V

    .line 467
    const v7, 0x7f0c0013

    invoke-virtual {v5, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 468
    .local v6, "textView1":Landroid/widget/TextView;
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypels:Ljava/util/List;

    invoke-interface {v7, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/ShoptypeBean;

    .line 469
    .local v0, "bbc":Lbean/ShoptypeBean;
    invoke-virtual {v0}, Lbean/ShoptypeBean;->getname()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 470
    invoke-virtual {v4, v5, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;I)V

    .line 472
    new-instance v7, Lcom/example/m6wmr/DingzuoActivity$12;

    invoke-direct {v7, p0}, Lcom/example/m6wmr/DingzuoActivity$12;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v5, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 463
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method


# virtual methods
.method public Inishop()V
    .locals 0

    .prologue
    .line 453
    return-void
.end method

.method public areaCount(I)J
    .locals 6
    .param p1, "parentid"    # I

    .prologue
    .line 735
    const-wide/16 v1, 0x0

    .line 736
    .local v1, "shu":J
    iget-object v3, p0, Lcom/example/m6wmr/DingzuoActivity;->helper:Ldbclass/DBOpenHelper;

    invoke-virtual {v3}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v3

    .line 737
    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "select count(*) from area where parent_id="

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    const/4 v5, 0x0

    .line 736
    invoke-virtual {v3, v4, v5}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    .line 739
    :try_start_0
    iget-object v3, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v3}, Landroid/database/Cursor;->moveToFirst()Z

    .line 740
    iget-object v3, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    const/4 v4, 0x0

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getLong(I)J
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result-wide v1

    .line 744
    iget-object v3, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v3, :cond_0

    .line 745
    iget-object v3, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v3}, Landroid/database/Cursor;->close()V

    .line 749
    :cond_0
    :goto_0
    return-wide v1

    .line 741
    :catch_0
    move-exception v0

    .line 742
    .local v0, "e":Ljava/lang/Exception;
    :try_start_1
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 744
    iget-object v3, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v3, :cond_0

    .line 745
    iget-object v3, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v3}, Landroid/database/Cursor;->close()V

    goto :goto_0

    .line 743
    .end local v0    # "e":Ljava/lang/Exception;
    :catchall_0
    move-exception v3

    .line 744
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v4, :cond_1

    .line 745
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v4}, Landroid/database/Cursor;->close()V

    .line 747
    :cond_1
    throw v3
.end method

.method public bindbtn()V
    .locals 9

    .prologue
    .line 303
    const v7, 0x7f0c0001

    invoke-virtual {p0, v7}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 304
    .local v0, "closebtn":Landroid/widget/ImageView;
    new-instance v7, Lcom/example/m6wmr/DingzuoActivity$3;

    invoke-direct {v7, p0}, Lcom/example/m6wmr/DingzuoActivity$3;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v0, v7}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 311
    const v7, 0x7f0c009c

    invoke-virtual {p0, v7}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    .line 312
    .local v3, "searchbtn":Landroid/widget/ImageView;
    new-instance v7, Lcom/example/m6wmr/DingzuoActivity$4;

    invoke-direct {v7, p0}, Lcom/example/m6wmr/DingzuoActivity$4;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 353
    const v7, 0x7f0c0145

    invoke-virtual {p0, v7}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    .line 354
    .local v1, "mapbtn":Landroid/widget/Button;
    new-instance v7, Lcom/example/m6wmr/DingzuoActivity$5;

    invoke-direct {v7, p0}, Lcom/example/m6wmr/DingzuoActivity$5;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v1, v7}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 371
    const v7, 0x7f0c0146

    invoke-virtual {p0, v7}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/LinearLayout;

    iput-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptype:Landroid/widget/LinearLayout;

    .line 372
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptype:Landroid/widget/LinearLayout;

    new-instance v8, Lcom/example/m6wmr/DingzuoActivity$6;

    invoke-direct {v8, p0}, Lcom/example/m6wmr/DingzuoActivity$6;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v7, v8}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 387
    const v7, 0x7f0c0148

    invoke-virtual {p0, v7}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/LinearLayout;

    iput-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->orderby:Landroid/widget/LinearLayout;

    .line 388
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->orderby:Landroid/widget/LinearLayout;

    new-instance v8, Lcom/example/m6wmr/DingzuoActivity$7;

    invoke-direct {v8, p0}, Lcom/example/m6wmr/DingzuoActivity$7;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v7, v8}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 402
    const v7, 0x7f0c014a

    invoke-virtual {p0, v7}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/LinearLayout;

    iput-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->pscost:Landroid/widget/LinearLayout;

    .line 403
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->pscost:Landroid/widget/LinearLayout;

    new-instance v8, Lcom/example/m6wmr/DingzuoActivity$8;

    invoke-direct {v8, p0}, Lcom/example/m6wmr/DingzuoActivity$8;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v7, v8}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 419
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptype:Landroid/widget/LinearLayout;

    invoke-virtual {v7}, Landroid/widget/LinearLayout;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v4

    .line 420
    .local v4, "vto":Landroid/view/ViewTreeObserver;
    new-instance v7, Lcom/example/m6wmr/DingzuoActivity$9;

    invoke-direct {v7, p0}, Lcom/example/m6wmr/DingzuoActivity$9;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v4, v7}, Landroid/view/ViewTreeObserver;->addOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V

    .line 427
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->orderby:Landroid/widget/LinearLayout;

    invoke-virtual {v7}, Landroid/widget/LinearLayout;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v5

    .line 428
    .local v5, "vto2":Landroid/view/ViewTreeObserver;
    new-instance v7, Lcom/example/m6wmr/DingzuoActivity$10;

    invoke-direct {v7, p0}, Lcom/example/m6wmr/DingzuoActivity$10;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v5, v7}, Landroid/view/ViewTreeObserver;->addOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V

    .line 435
    iget-object v7, p0, Lcom/example/m6wmr/DingzuoActivity;->pscost:Landroid/widget/LinearLayout;

    invoke-virtual {v7}, Landroid/widget/LinearLayout;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v6

    .line 436
    .local v6, "vto3":Landroid/view/ViewTreeObserver;
    new-instance v7, Lcom/example/m6wmr/DingzuoActivity$11;

    invoke-direct {v7, p0}, Lcom/example/m6wmr/DingzuoActivity$11;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v6, v7}, Landroid/view/ViewTreeObserver;->addOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V

    .line 444
    const v7, 0x7f0c0016

    invoke-virtual {p0, v7}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Lcom/example/location/BottomMenu;

    .line 445
    .local v2, "menu":Lcom/example/location/BottomMenu;
    const-string v7, "index"

    invoke-virtual {v2, v7}, Lcom/example/location/BottomMenu;->SetOn(Ljava/lang/String;)V

    .line 447
    return-void
.end method

.method public getShopSource()Z
    .locals 1

    .prologue
    .line 589
    new-instance v0, Lcom/example/m6wmr/DingzuoActivity$15;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/DingzuoActivity$15;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    .line 681
    invoke-virtual {v0}, Lcom/example/m6wmr/DingzuoActivity$15;->start()V

    .line 682
    const/4 v0, 0x0

    return v0
.end method

.method public getarearr(I)V
    .locals 7
    .param p1, "parentid"    # I

    .prologue
    .line 276
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->helper:Ldbclass/DBOpenHelper;

    invoke-virtual {v4}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v4

    .line 277
    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "select * from area where parent_id ="

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    const/4 v6, 0x0

    .line 276
    invoke-virtual {v4, v5, v6}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v4

    iput-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    .line 278
    const-string v4, "DingzuoActivity"

    const-string v5, "\u83b7\u53d6\u533a\u57df\u4fe1\u606f "

    invoke-static {v4, v5}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 279
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->areals:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->clear()V

    .line 281
    :try_start_0
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v4, :cond_0

    .line 282
    :goto_0
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v4}, Landroid/database/Cursor;->moveToNext()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result v4

    if-nez v4, :cond_2

    .line 297
    :cond_0
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v4, :cond_1

    .line 298
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v4}, Landroid/database/Cursor;->close()V

    .line 301
    :cond_1
    :goto_1
    return-void

    .line 283
    :cond_2
    :try_start_1
    new-instance v1, Lbean/AreaBean;

    invoke-direct {v1}, Lbean/AreaBean;-><init>()V

    .line 284
    .local v1, "bb":Lbean/AreaBean;
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    const-string v6, "id"

    invoke-interface {v5, v6}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v5

    invoke-interface {v4, v5}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    .line 285
    .local v0, "_id":I
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    const-string v6, "parent_id"

    invoke-interface {v5, v6}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v5

    invoke-interface {v4, v5}, Landroid/database/Cursor;->getInt(I)I

    move-result v3

    .line 286
    .local v3, "parent_id":I
    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lbean/AreaBean;->setId(Ljava/lang/String;)V

    .line 287
    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lbean/AreaBean;->setparent_id(Ljava/lang/String;)V

    .line 288
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    const-string v6, "name"

    invoke-interface {v5, v6}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v5

    invoke-interface {v4, v5}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lbean/AreaBean;->setname(Ljava/lang/String;)V

    .line 289
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    const-string v6, "lng"

    invoke-interface {v5, v6}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v5

    invoke-interface {v4, v5}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lbean/AreaBean;->setlng(Ljava/lang/String;)V

    .line 290
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    const-string v6, "lat"

    invoke-interface {v5, v6}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v5

    invoke-interface {v4, v5}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lbean/AreaBean;->setlng(Ljava/lang/String;)V

    .line 291
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->areals:Ljava/util/List;

    invoke-interface {v4, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    .line 294
    .end local v0    # "_id":I
    .end local v1    # "bb":Lbean/AreaBean;
    .end local v3    # "parent_id":I
    :catch_0
    move-exception v2

    .line 295
    .local v2, "e":Ljava/lang/Exception;
    :try_start_2
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 297
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v4, :cond_1

    .line 298
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v4}, Landroid/database/Cursor;->close()V

    goto :goto_1

    .line 296
    .end local v2    # "e":Ljava/lang/Exception;
    :catchall_0
    move-exception v4

    .line 297
    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v5, :cond_3

    .line 298
    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v5}, Landroid/database/Cursor;->close()V

    .line 300
    :cond_3
    throw v4
.end method

.method public gettypearr()V
    .locals 7

    .prologue
    .line 249
    new-instance v2, Lbean/ShoptypeBean;

    invoke-direct {v2}, Lbean/ShoptypeBean;-><init>()V

    .line 250
    .local v2, "bb2":Lbean/ShoptypeBean;
    const-string v4, "0"

    invoke-virtual {v2, v4}, Lbean/ShoptypeBean;->setId(Ljava/lang/String;)V

    .line 251
    const-string v4, "\u6240\u6709\u5206\u7c7b"

    invoke-virtual {v2, v4}, Lbean/ShoptypeBean;->setname(Ljava/lang/String;)V

    .line 252
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypels:Ljava/util/List;

    invoke-interface {v4, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 254
    :try_start_0
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->helper:Ldbclass/DBOpenHelper;

    invoke-virtual {v4}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v4

    .line 255
    const-string v5, "select * from shoptype where cattype=0"

    const/4 v6, 0x0

    .line 254
    invoke-virtual {v4, v5, v6}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v4

    iput-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    .line 256
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v4, :cond_0

    .line 257
    :goto_0
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v4}, Landroid/database/Cursor;->moveToNext()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result v4

    if-nez v4, :cond_2

    .line 268
    :cond_0
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v4, :cond_1

    .line 269
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v4}, Landroid/database/Cursor;->close()V

    .line 273
    :cond_1
    :goto_1
    return-void

    .line 258
    :cond_2
    :try_start_1
    new-instance v1, Lbean/ShoptypeBean;

    invoke-direct {v1}, Lbean/ShoptypeBean;-><init>()V

    .line 259
    .local v1, "bb":Lbean/ShoptypeBean;
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    const-string v6, "id"

    invoke-interface {v5, v6}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v5

    invoke-interface {v4, v5}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    .line 260
    .local v0, "_id":I
    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lbean/ShoptypeBean;->setId(Ljava/lang/String;)V

    .line 261
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    const-string v6, "name"

    invoke-interface {v5, v6}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v5

    invoke-interface {v4, v5}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lbean/ShoptypeBean;->setname(Ljava/lang/String;)V

    .line 262
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypels:Ljava/util/List;

    invoke-interface {v4, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    .line 265
    .end local v0    # "_id":I
    .end local v1    # "bb":Lbean/ShoptypeBean;
    :catch_0
    move-exception v3

    .line 266
    .local v3, "e":Ljava/lang/Exception;
    :try_start_2
    invoke-virtual {v3}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 268
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v4, :cond_1

    .line 269
    iget-object v4, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v4}, Landroid/database/Cursor;->close()V

    goto :goto_1

    .line 267
    .end local v3    # "e":Ljava/lang/Exception;
    :catchall_0
    move-exception v4

    .line 268
    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v5, :cond_3

    .line 269
    iget-object v5, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v5}, Landroid/database/Cursor;->close()V

    .line 271
    :cond_3
    throw v4
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 10
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 101
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 102
    const v0, 0x7f03003a

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/DingzuoActivity;->setContentView(I)V

    .line 104
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->m:Lmyapp/MyApp;

    .line 105
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v6

    .line 106
    .local v6, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    invoke-virtual {v6, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 107
    iput-object p0, p0, Lcom/example/m6wmr/DingzuoActivity;->mcontext:Landroid/content/Context;

    .line 108
    sput-object p0, Lcom/example/m6wmr/DingzuoActivity;->dingzuo:Lcom/example/m6wmr/DingzuoActivity;

    .line 110
    const/high16 v0, 0x7f0c0000

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/LinearLayout;

    .line 111
    .local v9, "top":Landroid/widget/LinearLayout;
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v0

    const-string v1, "1"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 112
    const v0, 0x7f070026

    invoke-virtual {v9, v0}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 115
    :cond_0
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->orderlist:Ljava/util/List;

    const-string v1, "\u9ed8\u8ba4"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 116
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->orderlist:Ljava/util/List;

    const-string v1, "\u8ddd\u79bb"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 117
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->orderlist:Ljava/util/List;

    const-string v1, "\u8d77\u9001\u4ef7"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 118
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->orderlist:Ljava/util/List;

    const-string v1, "\u63a8\u8350"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 120
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostlist:Ljava/util/List;

    const-string v1, "\u4e0d\u9650\u8d77\u9001\u4ef7"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 121
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostlist:Ljava/util/List;

    const-string v1, "\u4f4e\u4e8e5\u5143"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 122
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostlist:Ljava/util/List;

    const-string v1, "5\u5143\u523010\u5143"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 123
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->pscostlist:Ljava/util/List;

    const-string v1, "10\u5143\u4ee5\u4e0a"

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 125
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->shoptypels:Ljava/util/List;

    .line 126
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->areals:Ljava/util/List;

    .line 127
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->shopls:Ljava/util/List;

    .line 128
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->temshopls:Ljava/util/List;

    .line 130
    const v0, 0x7f0c0144

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    .line 131
    .local v7, "mapnametext":Landroid/widget/TextView;
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->m:Lmyapp/MyApp;

    iget-boolean v0, v0, Lmyapp/MyApp;->Ismap:Z

    if-nez v0, :cond_1

    .line 132
    const-string v0, "\u5b9a\u4f4d\u5931\u8d25"

    invoke-virtual {v7, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 136
    :goto_0
    new-instance v0, Lcom/example/m6wmr/DingzuoActivity$1;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/DingzuoActivity$1;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->h:Landroid/os/Handler;

    .line 185
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->bindbtn()V

    .line 187
    const v0, 0x7f0c0142

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    .line 188
    .local v8, "shoplistname":Landroid/widget/TextView;
    const-string v0, "\u9884\u8ba2\u5546\u5bb6\u5217\u8868"

    invoke-virtual {v8, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 189
    new-instance v0, Ldbclass/DBOpenHelper;

    iget-object v1, p0, Lcom/example/m6wmr/DingzuoActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v0, v1}, Ldbclass/DBOpenHelper;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->helper:Ldbclass/DBOpenHelper;

    .line 190
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->helper:Ldbclass/DBOpenHelper;

    invoke-virtual {v0}, Ldbclass/DBOpenHelper;->getWritableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 191
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->gettypearr()V

    .line 192
    const v0, 0x7f0c0057

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/DingzuoActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ListView;

    .line 193
    .local v4, "lv1":Landroid/widget/ListView;
    new-instance v0, Ldata/ShopData;

    iget-object v1, p0, Lcom/example/m6wmr/DingzuoActivity;->mcontext:Landroid/content/Context;

    iget-object v2, p0, Lcom/example/m6wmr/DingzuoActivity;->shopls:Ljava/util/List;

    .line 194
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    const/4 v5, 0x1

    invoke-direct/range {v0 .. v5}, Ldata/ShopData;-><init>(Landroid/content/Context;Ljava/util/List;Landroid/content/Context;Landroid/widget/ListView;I)V

    .line 193
    iput-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->spbd:Ldata/ShopData;

    .line 195
    const/4 v0, 0x0

    invoke-virtual {v4, v0}, Landroid/widget/ListView;->setCacheColorHint(I)V

    .line 196
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->spbd:Ldata/ShopData;

    invoke-virtual {v4, v0}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 197
    new-instance v0, Lcom/example/m6wmr/DingzuoActivity$2;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/DingzuoActivity$2;-><init>(Lcom/example/m6wmr/DingzuoActivity;)V

    invoke-virtual {v4, v0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 212
    new-instance v0, Lcom/example/m6wmr/DingzuoActivity$OnScrollListenerImple;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/example/m6wmr/DingzuoActivity$OnScrollListenerImple;-><init>(Lcom/example/m6wmr/DingzuoActivity;Lcom/example/m6wmr/DingzuoActivity$OnScrollListenerImple;)V

    invoke-virtual {v4, v0}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 213
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->getShopSource()Z

    .line 215
    return-void

    .line 134
    .end local v4    # "lv1":Landroid/widget/ListView;
    .end local v8    # "shoplistname":Landroid/widget/TextView;
    :cond_1
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 754
    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    .line 757
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_0

    .line 758
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    .line 760
    :cond_0
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    if-eqz v0, :cond_1

    .line 761
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    .line 763
    :cond_1
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    if-eqz v0, :cond_2

    .line 764
    iget-object v0, p0, Lcom/example/m6wmr/DingzuoActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 767
    :cond_2
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v1, 0x0

    .line 771
    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v0

    if-nez v0, :cond_0

    .line 772
    invoke-virtual {p0}, Lcom/example/m6wmr/DingzuoActivity;->finish()V

    .line 775
    :cond_0
    return v1
.end method
